package com.library.model.daoimple;

import java.util.List;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.library.model.dao.BookSearchDAO;
import com.library.model.dto.booksearch.BookSearchDTO;

public class BookSearchDAOImple extends SqlMapClientDaoSupport implements BookSearchDAO{

	@Override
	public List<BookSearchDTO> searchBooks(BookSearchDTO dto) {
		return (List<BookSearchDTO>)getSqlMapClientTemplate().queryForList("BookSearchMap.getbooks",dto);
	}

}
